package com.xpoint.backend.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xpoint.backend.common.R;
import com.xpoint.backend.entity.Orders;
import org.springframework.core.annotation.Order;

public interface OrderService extends IService<Orders> {
    R<String> submitOrder(Orders order);

    R<Page> findUserPage(Long page, Long pageSize);

    R<Page> findPage(Long page, Long pageSize, Long number, String beginTime, String endTime);

    R<String> updateStatus(Integer status, Long id);
}
